package com.museum.controller.feignAPI;

import com.alibaba.fastjson.JSONObject;
import com.museum.base.BaseResponse;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@Api(tags = "Clue调用接口")
public interface FeignController {
    /**
     * 获取用户信息
     *
     * @param token
     * @return
     */
    @GetMapping("getUserMessageByUSerId")

    BaseResponse<JSONObject> getUserMessageByUSerId(@RequestParam("token") String token);


    /**
     * 获取地域的子树
     *
     * @param token
     * @return
     */
    @GetMapping("getAreaTreeByNodeId")
    BaseResponse<JSONObject> getAreaTreeByNodeId(@RequestParam("token") String token);
}
